package com.evl.ticketRemainder.service;

import java.util.List;

import com.baomidou.mybatisplus.plugins.Page;
import com.evl.common.persistence.model.ScheduleStation;
import com.evl.common.persistence.model.TicketRemainder;
import com.evl.ticketRemainder.vo.TrainSeatScheduleVo;


/**
 * <p>
 * 余票表 服务类
 * </p>
 *
 * @author yangliwei
 * @since 2017-06-21
 */
public interface ITicketRemainderService  {

	List<TicketRemainder> selectTicketRemaindersPage(Page<TicketRemainder> page, String departure, String arrive,String startDate);
	List<TicketRemainder> selectTicketRemainders(String departure, String arrive,String startDate);
	TicketRemainder selectTicketOne(int parseInt, String departureCode,	String arriveCode);
	TicketRemainder selectTicketById(Integer ticketRemainderId);
	List<TrainSeatScheduleVo> getTrainSeatSchedules(TicketRemainder tr, String carriageNo, String seatNo, String seatType);
	void lockSeats(Integer ticketRemainderId, String[] ids);
	void canclelockSeats(Integer ticketRemainderId, String[] ids);
	List<ScheduleStation> getScheduleStations(TicketRemainder tr);
}
